#ifndef __LED_DEVICE_H__
#define __LED_DEVICE_H__

#include "main.h"


#define LED_ON    0
#define LED_OFF   1


typedef struct ledDevice{
    char *name;
    int status;
    void(*Init)(struct ledDevice *pDev);
    int(*Ctrl)(struct ledDevice *pDev, int status);
}ledDevice, *pLedDevice;

pLedDevice GetLedDevice(char *name);


#endif
